const state = {
  userInfo:{}
}
const mutations = {
  GETUSERINFOR(state:any,val:any){
    return state.userInfo = val
  }
}

const actions = {
  getUserInfo(context:any,val:any){
    context.commit('GETUSERINFOR',val)
  }
}

export default {
  namespaced:true,
  state,
  mutations,
  actions
}